<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>hello vue</title>
</head>
<body>
    hello Vue 原生html
    <ul id="myul">

    </ul>


<script>
    var arr=["春天", "夏天", "秋天", "冬天"];
    var myul=document.getElementById("myul");
    for(var i=0;i<arr.length;i++){
        var li=document.createElement("li");
        li.innerHTML=arr[i];
        myul.appendChild(li)
    }


    var a=10;
    var b=20;
    console.log(a+b);
    
let obj={
    a:10,
    b:20
}
console.log(obj.a+obj.b);
console.log(obj);


</script>
</body>
</html>